import { axiosGet, axiosPost, axiosPut, axiosDelete } from '/@/api/RequestBase';
import { SqlSugarPagedList } from '/@/api/BaseDto';
import { BaseKeywordPageInput, BaseBillCancelInput } from '/@/api/BaseDto';

import { XieYiYiYuanChuKuOutput } from './dto/XieYiYiYuanChuKuOutput';
import { XieYiYiYuanChuKuMessageOutput } from './dto/XieYiYiYuanChuKuMessageOutput';
import { XieYiYiYuanChuKuMingXiOutput } from './dto/XieYiYiYuanChuKuMingXiOutput';
import { XieYiYiYuanChuKuListInput } from './dto/XieYiYiYuanChuKuListInput';
import { XieYiYiYuanChuKuDanHaoInput } from './dto/XieYiYiYuanChuKuDanHaoInput';
import { CheckYuJingShuJuInput } from './dto/CheckYuJingShuJuInput';
import { BasYueXueYuJingOutputAndYueXueLian } from './dto/BasYueXueYuJingOutputAndYueXueLian';

export type { XieYiYiYuanChuKuOutput, XieYiYiYuanChuKuMessageOutput, XieYiYiYuanChuKuMingXiOutput, XieYiYiYuanChuKuListInput, XieYiYiYuanChuKuDanHaoInput, BasYueXueYuJingOutputAndYueXueLian };

const service = 'XieYiYiYuanChuKu/'; // 要写后面的斜杠, 不要写前面的斜杠

export const XieYiYiYuanChuKuApi = {
	xieYiYiYuanChuKuList: (data: XieYiYiYuanChuKuListInput) => {
		return axiosPost<XieYiYiYuanChuKuOutput>(service + 'xieYiYiYuanChuKuList', data);
	},
	xieYiYiYuanChuKuMingxi: (data: XieYiYiYuanChuKuDanHaoInput) => {
		return axiosPost<XieYiYiYuanChuKuMessageOutput>(service + 'xieYiYiYuanChuKuMingxi', data);
	},
	/** 获取预警数据 */
	checkYuJingShuJu: (data: CheckYuJingShuJuInput) => {
		return axiosPost<BasYueXueYuJingOutputAndYueXueLian[]>(service + 'checkYuJingShuJu', data);
	},
};
